<table style="width: 100%;height: 100%">
    {% if NavUl is defined %}
    <tr style="height: 67px">
        <td valign="top">{{ NavUl }}</td>
    </tr>
    {% endif %}
    <tr style="height:100%;" >
        <!--列表内容-->
        <td class="XH-List">{{ List }}</td>
    </tr>
    <tr>
        <td valign="top">
            <!--表单内容-->
            {% if AddEdit is defined %}
               {{ form('Buy/modifyExcellentStudent', 'method': 'post', 'class': 'XH-Form-Main', 'id': 'XH_Form_Main','target':'submitForm','style':'display:none;') }}
             {{ hidden_field('id') }}
                <div class="XH-Temp-Form">
                    <table>
                        <tr>
                            <td>学生姓名：</td>
                            <td>
                                 {{ text_field('username', 'class': 'form-control', 'style': 'width:200px;', 'must': 'true') }}
                            </td>
                            <td></td>
                        </tr>
                        <tr >
                            <td for="">上传头像：</td>
                            <td>{{ file_field('cover_img', 'class': 'form-control', 'style': 'width: 300px;') }}</td>
                            {#<a class="btn btn-default" id="bt_cover_upload">确认</a>#}
                        </tr>
                        <tr>
                            <td for="">头像地址：</td>
                            <td>{{ text_field('avatar', 'class': 'form-control', 'style': 'width:500px;', 'readonly': 'readonly') }}</td>
                        </tr>
                        <tr>
                            <td>学生介绍：</td>
                            <td colspan="2">
                                <textarea name='introduce' id='introduce' rows="5"></textarea>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="XH-Button-Div" style="padding-left: 75px;">
                    {% if FormButton is defined %}{{ FormButton }}{% endif %}
                </div>
             {{ endform() }}
            <iframe name="submitForm" frameborder="0" class="XH-Hidden"></iframe>
            {% endif %}
        </td>
    </tr>
</table>
